package com.ssy.lingxi.feign;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.dto.response.PlatformSettlementAllInPayVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 结算服务平台Feign接口
 * @author 彭冬冬
 * @date 2021/12/21
 * @version 2.0.0
 */
@FeignClient(name = "settle-accounts-service")
public interface PlatformSettlementControllerFeign {

    @RequestMapping(value = "/settle/accounts/platform/feign/get/platform/settlement", method = RequestMethod.GET)
    Wrapper<PlatformSettlementAllInPayVO> getPlatformSettlementByDetailPaymentId(@RequestParam Long paymentId);
}
